import { UserInfo } from "@/types/user";
import request from "@/utils/request";

export function login(logInfo: UserInfo) {
    return request({
        method: 'post',
        url: '/user/login',
        data: logInfo
    })
}

export function recognize() {
    return request({
        method: 'post',
        url: '/recognize'
    })
}